'use strict'

import destroyZouShiDom from './destroyZouShiDom'

//取消页面多选框选中后生成的效果

function cancelAllStyle(self, lotteryType) {
    self.isOmitChecked = false;
    self.isYiLouTiaoChecked = false;
    self.isZouShiChecked = false;
    self.isNumberTempChecked = false;
    if (lotteryType != 'l28' && lotteryType != 'k3') {
        destroyZouShiDom(self.zouShiLineClassArr);
        self.checkboxGroupVar.forEach((el, i) => {
            if (i == 0 || i==1 || i==3) {
                el.status = 1;
            } else {
                el.status = 0;
            }
        });
    }
}

export default cancelAllStyle